package com.example.test.service;
import com.example.test.entity.User;
import com.example.test.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


public interface Userservice {


   public boolean findByName(String username, String password);

   boolean InsertUser(String username, String password, Integer id);

   int Insert(User user);

   List<User> getUser();

   List<User> getUsername(String username, Integer id);

   boolean deleteUser(String username);

}

